package cn.jolyoulu.common.core.listeners;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * @Author: JolyouLu
 * @Date: 2024/2/2 15:22
 * @Description
 */
@Slf4j
public class SpringEventListener implements ApplicationListener<ApplicationEvent> {
    @Override
    public void onApplicationEvent(ApplicationEvent event) {
        log.info("Spring全局事件监听器 ==> {}",event);
    }
}
